home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
- <stack>
- <name>in</name>
- <id>-1</id>
- <cardCount>2</cardCount>
- <cardID>2821</cardID>
- <listID>4985</listID>
- <cantModify><false /></cantModify>
- <cantDelete><false /></cantDelete>
- <cantAbort><false /></cantAbort>
- <cardSize>
- <width>512</width>
- <height>342</height>
- </cardSize>
- <script>on openStack
- global menu1,menu2
- put newMenu("Water","Find it","Get it","Humans","Biological diversity",¬
- "A Difference","(-","Main Menu","(-","Water Help") into menu1
- put newMenu("Video","Laser","Tape") into menu2
- end openStack
-
- on closeStack
- global menu1,menu2
- put deleteMenu(menu1) into menu1
- put deleteMenu(menu2) into menu2
- end closeStack
-
- on doMenu which
- global menu1,menu2
- if which is "Find it" then
- visual effect dissolve slow to black
- wait 5
- visual effect dissolve slow
- go to stack "where we find water"
- else if which is "Get it" then
- visual effect dissolve slow to black
- wait 5
- visual effect dissolve slow
- go to stack "where we get water"
- else if which is "Humans" then
- visual effect dissolve slow to black
- wait 5
- visual effect dissolve slow
- go to stack "human adaptation"
- else if which is "Biological diversity" then
- visual effect dissolve slow to black
- wait 5
- visual effect dissolve slow
- go to stack "biological diversity"
- else if which is "A Difference" then
- visual effect dissolve slow to black
- wait 5
- visual effect dissolve slow
- go to stack "we make a difference"
- else if which is "Main Menu" then
- visual effect dissolve slow to black
- wait 5
- visual effect dissolve slow
- go to stack "database-1"
- else if which is "Water Help" then
- visual effect dissolve slow to black
- wait 5
- visual effect dissolve slow
- go to card "help" in stack "database-1"
- else if which is "Laser" then
- answer "Coming soon to a Laser Optical Disk Player!" with "OK"
- else if which is "Tape" then
- answer "You have got to be kidding!" with "OK"
- else
- pass doMenu
- end if
- end doMenu
-
- on sicEmFido
- global ContinueOrNot, searchString
- if ContinueOrNot is NoGo then
- put empty into ContinueOrNot
- exit sicEmFido
- end if
- ask "Type in the word or phrase you want to find." with searchString
- if the result is cancel then
- answer "Ending search"
- exit sicEmFido
- end if
- put it into searchString
- sniffOut
- end SicEmFido
-
-
- on sniffOut
- global ContinueOrNot, searchString
- find whole searchString
- if the result is empty then
- answer "Do you want to search for further occurences?"¬
- with "Yes" or "No" or "Another"
- if it is "Yes" then
- sniffOut
- end if
- if it is "No" then
- answer "The search is complete."
- put NoGo into ContinueOrNot
- sicEmFido
- end if
- if it is "Another" then
- sicEmFido
- end if
- end if
- if the result is not empty then
- answer "I did not find your selection."
- end if
- end sniffOut
- </script>
- <background id="2574" file="background_2574.xml" name="" />
- <card id="2821" file="card_2821.xml" marked="false" name="" owner="2574" />
- <card id="4219" file="card_4219.xml" marked="false" name="" owner="2574" />
- </stack>
-